package com.hjl.spring.entity;

/**
 * @author ServivE
 * @version 0.1
 * @className MainFrame
 * @description
 * @date 2024/8/5 11:37
 * @since jdk11
 */

import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 主机类
 */
@Setter
@Component
public class MainFrame {
    @Value("mac")
    private String modelType;//主机型号

    public void printMainFrameInfo() {
        System.out.println("主机型号："+modelType);
    }
}
